package org.kx.dao;

import org.kx.bean.Student;

import java.util.List;

public interface StudentDao {
    //动态sql，使用java对象作为参数
    List<Student> selectStudentsIf(Student student);
    //where使用
    List<Student> selectStudentsWhere(Student student);
    //foreach使用1，list<Integer>
    List<Student> selectForeachOne(List<Integer> list);
    //foreach使用2，list<Integer>
    List<Student> selectForeachTwo(List<Student> list);
}
